package com.kaifamiao.Practice;

public class P003 {
    public static void main(String[] args) {
        //输出5的阶乘
        int num = 1;
        for(int i = 1;i<=5;i++){
            num *=i;
        }
        System.out.println(num);
    }
}
